strconv.decimalSlice.nd (field)
39 uses
strconv (current package)
ftoa.go#L124: prec = max(digs.nd-1, 0)
ftoa.go#L126: prec = max(digs.nd-digs.dp, 0)
ftoa.go#L128: prec = digs.nd
ftoa.go#L171: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L175: prec = digs.nd - 1
ftoa.go#L177: prec = max(digs.nd-digs.dp, 0)
ftoa.go#L179: prec = digs.nd
ftoa.go#L194: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L208: if eprec > digs.nd && digs.nd >= digs.dp {
ftoa.go#L209: eprec = digs.nd
ftoa.go#L219: if prec > digs.nd {
ftoa.go#L220: prec = digs.nd
ftoa.go#L225: prec = digs.nd
ftoa.go#L375: nd, dp int
ftoa.go#L387: if d.nd != 0 {
ftoa.go#L396: m := min(d.nd, prec+1)
ftoa.go#L409: if d.nd == 0 { // special case: 0 has exponent 0
ftoa.go#L442: m := min(d.nd, d.dp)
ftoa.go#L456: if j := d.dp + i; 0 <= j && j < d.nd {
ftoaryu.go#L29: d.nd, d.dp = 0, 0
ftoaryu.go#L96: d.nd, d.dp = 0, 0
ftoaryu.go#L197: d.nd = prec
ftoaryu.go#L219: for d.d[d.nd-1] == '0' {
ftoaryu.go#L220: d.nd--
ftoaryu.go#L223: d.dp = d.nd + trimmed
ftoaryu.go#L229: d.nd, d.dp = 0, 0
ftoaryu.go#L384: d.nd = 0
ftoaryu.go#L394: d.nd = int(9 - n)
ftoaryu.go#L397: c0, cup, d.nd+8)
ftoaryu.go#L400: for d.nd > 0 && d.d[d.nd-1] == '0' {
ftoaryu.go#L401: d.nd--
ftoaryu.go#L404: for d.nd > 0 && d.d[0] == '0' {
ftoaryu.go#L405: d.nd--
ftoaryu.go#L469: for n > d.nd {
ftoaryu.go#L476: if n == d.nd {
ftoaryu.go#L479: d.nd = endindex + 1
ftoaryu.go#L480: d.dp = d.nd + trimmed
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |